using System;
using System.Collections;
using System.ComponentModel;

/// <summary>
/// Sample object graph to use object data source
/// </summary>
[DefaultProperty("Name")]
public class Categories : IEnumerable {
    public Categories() {
    }

    public string Name {
        get {
            return "Categories";
        }
    }

    public IEnumerator GetEnumerator() {
        yield return new CarsCategory();
        yield return new FruitCategory();
        yield return new AnimalsCategory();
    }
}
